﻿using System.Web.Mvc;

namespace FlashcardWeb.Models.Static
{
	public class FileStaticModel
	{
		private static readonly FileStaticModel instance = new FileStaticModel();

		// Explicit static constructor to tell C# compiler not to mark type as beforefieldinit    
		static FileStaticModel() { }

		private FileStaticModel() { }

		public static FileStaticModel Instance
		{
			get { return instance; }
		}

		public SelectList GetDelimiters()
		{
			return new SelectList(new[] { 
					new SelectListItem { Text = "středník (;)", Value = ";", Selected = false}, 
					new SelectListItem { Text = "čárka (,)", Value = "," , Selected = true}
			}, "Value", "Text", ",");
		}

	}
}